-
Notifications
You must be signed in to change notification settings - Fork 11
Handle new mongot config schema #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle new mongot config schema #230
Conversation
9906c42
to
4cc828f
Compare
Enabled: true, | ||
Address: fmt.Sprintf("localhost:%d", search.GetMongotMetricsPort()), | ||
}, | ||
Logging: mongot.Logging{ | ||
HealthCheck: mongot.ConfigHealthCheck{ | ||
Address: "0.0.0.0:8080", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to read from a config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so, we know in the operator what we're setting here, so the readiness probe can be configured accordingly.
4cc828f
to
90b7a37
Compare
evergreen refresh |
|
||
if ! /mongot-community/mongot --config /mongot/config/config.yml; then | ||
echo "mongot error code, sleeping to allow to ssh" | ||
sleep 600 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is temporary, to be removed before merging
25205fa
to
6b79a6f
Compare
6b79a6f
to
f438d3e
Compare
Summary
Implements minimum necessary changes to run against newest mongot container built from master: